﻿<%@ Register TagPrefix="wssuc" TagName="ToolBar" Src="~/_controltemplates/ToolBar.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBarButton" Src="~/_controltemplates/ToolBarButton.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="AIS.SharePoint.AspNetFBA.Layouts.AIS.SharePoint.AspNetFBA.ChangePassword" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    
    <asp:Label runat="server" Text="" ID="lblStatus" />

    <table width="400" border="0" cellspacing="0" cellpadding="0" class="ms-propertysheet">
        <wssuc:InputFormSection runat="server">
            <Template_Description>
                <asp:Literal ID="Literal1" runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_ChangePassword_Section_Main_Title%>" />
            </Template_Description>
            <Template_InputFormControls>
                <wssuc:InputFormControl runat="server"  LabelText="<%$Resources:AIS.SharePoint.AspNetFBA,Page_ChangePassword_txtCurrentPassword_Text%>">
                    <Template_Control>
                        <SharePoint:InputFormTextBox runat="server" MaxLength="100" Columns="40" ID="txtCurrentPassword" />
                        <SharePoint:InputFormRequiredFieldValidator  runat="server" Display="Dynamic" SetFocusOnError="false" ControlToValidate="txtCurrentPassword" ErrorMessage="<%$Resources:AIS.SharePoint.AspNetFBA,Page_ChangePassword_txtCurrentPassword_ErrorMessage%>" />
                    </Template_Control>
                </wssuc:InputFormControl>
            </Template_InputFormControls>
        </wssuc:InputFormSection>

        <wssuc:InputFormSection runat="server">
            <Template_InputFormControls>
                <wssuc:InputFormControl runat="server" LabelText = "<%$Resources:AIS.SharePoint.AspNetFBA,Page_ChangePassword_txtCurrentPassword_Text%>">
                    <Template_Control>
                        <SharePoint:InputFormTextBox runat="server" MaxLength="20" Columns="40" ID="txtNewPassword" />
                        <SharePoint:InputFormTextBox runat="server" MaxLength="20" Columns="40" ID="txtNewPasswordConfirm" />
                        <SharePoint:InputFormRequiredFieldValidator ID="InputFormRequiredFieldValidator1" runat="server" Display="Dynamic" SetFocusOnError="false" ControlToValidate="txtNewPassword" ErrorMessage="<%$Resources:AIS.SharePoint.AspNetFBA,Page_ChangePassword_txtCurrentPassword_ErrorMessage%>" />
                        <SharePoint:InputFormCompareValidator ID="InputFormCompareValidator2" runat="server" Display="Dynamic" SetFocusOnError="false" ControlToValidate="txtNewPassword" ControlToCompare="txtNewPasswordConfirm" ErrorMessage="<%$Resources:AIS.SharePoint.AspNetFBA,Page_ChangePassword_txtNewPassword_ValidateMessage%>"/>
                    </Template_Control>
                </wssuc:InputFormControl>
            </Template_InputFormControls>
        </wssuc:InputFormSection>

        <wssuc:ButtonSection runat="server" ID="sectionBottomButtons">
            <Template_Buttons>
                <asp:Button ID="btnOk" UseSubmitBehavior="false" 
		            runat="server" 
                    OnClick="btnOK_Click"
                    CssClass="ms-ButtonHeightWidth"
		            Text="<%$Resources:wss,multipages_savebutton_text%>" 
		            accesskey="<%$Resources:wss,multipages_savebutton_accesskey%>"/>
            </Template_Buttons>
        </wssuc:ButtonSection>

    </table>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
<asp:Literal ID="Literal2" runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_ChangePassword_PageTitle%>" />
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
<asp:Literal ID="Literal3" runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_ChangePassword_TitleTitle%>" />
</asp:Content>
